import datetime, os


def get_log(log_path):
    """
    创建日志
    :param log_path:
    :return:
    """
    timestamp = datetime.datetime.now().strftime('%Y%m%d-%H%M%S')
    return os.path.join(log_path, timestamp)
